.class Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;
.super Ljava/lang/Object;
.source "AddBGMusicActivity.java"

# interfaces
.implements Lcom/esfile/screen/recorder/player/exo/a$i;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->N()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field a:Z

.field b:Z

.field final synthetic c:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

.field final synthetic d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->c:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 p1, 0x0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->a:Z

    .line 3
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->b:Z

    return-void
.end method


# virtual methods
.method public a(ZII)V
    .locals 1

    .line 1
    iget-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    invoke-static {p3, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;I)I

    if-nez p1, :cond_0

    .line 2
    iget-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    invoke-static {p3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->i(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;

    move-result-object p3

    invoke-virtual {p3}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;->b()V

    goto :goto_0

    .line 3
    :cond_0
    iget-boolean p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->b:Z

    if-nez p3, :cond_1

    .line 4
    iget-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    invoke-static {p3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->i(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;

    move-result-object p3

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->e(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;)Ljava/util/List;

    move-result-object v0

    invoke-virtual {p3, v0}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;->a(Ljava/util/List;)V

    .line 5
    iget-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->c:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->f(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;)F

    move-result v0

    invoke-virtual {p3, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVolume(F)V

    .line 6
    iget-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    invoke-static {p3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->i(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;

    move-result-object p3

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->c:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getCurrentPosition()I

    move-result v0

    invoke-virtual {p3, v0}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;->b(I)V

    :cond_1
    :goto_0
    const/4 p3, 0x3

    if-ne p2, p3, :cond_2

    const/4 p3, 0x1

    .line 7
    iput-boolean p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->a:Z

    .line 8
    iget-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    invoke-static {p3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->i(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;

    move-result-object p3

    invoke-virtual {p3}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;->b()V

    .line 9
    :cond_2
    iget-boolean p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->a:Z

    if-eqz p3, :cond_3

    const/4 p3, 0x4

    if-ne p2, p3, :cond_3

    const/4 p2, 0x0

    .line 10
    iput-boolean p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->a:Z

    .line 11
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->d:Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;

    invoke-static {p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;->i(Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;

    move-result-object p2

    iget-object p3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->c:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {p3}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getCurrentPosition()I

    move-result p3

    invoke-virtual {p2, p3}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditBGMPlayer;->b(I)V

    .line 12
    :cond_3
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/AddBGMusicActivity$h;->b:Z

    return-void
.end method
